package cc.lj.internal.api.coupons.dto.command;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 绑定券包 command，券包被其他实体关联，修改券包实体中的绑定状态
 * @date 2023/8/24 11:37
 */
@Data
@NoArgsConstructor
@Validated
@Accessors(chain = true)
public class BindTicketPackageAPICommand {
    /**
     * 券包表主键
     */
    @Min(value=1,message = "主键必须>=1的数字")
    private Integer id;

    //是否关联活动1是2否
    @NotNull
    private Integer isBind;
}
